home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC] / NeXTSTEP 3.3 Dev Intel.iso / NextDeveloper / Headers / netinfo / lookup.defs < prev    next >
Text File  |  1990-03-10  |  971b  |  44 lines

  1. /* 
  2.  * Lookup protocol specification - internal to NeXT
  3.  * Copyright (C) 1989 by NeXT, Inc.
  4.  */
  5.  
  6. subsystem lookup 4241775;
  7. serverprefix _;
  8.  
  9. import <netinfo/lookup_types.h>;
  10.  
  11.  
  12. type port_t = MSG_TYPE_PORT;
  13. type int = MSG_TYPE_INTEGER_32;
  14. type lookup_name = (MSG_TYPE_STRING, 256*8);
  15. type unit = (MSG_TYPE_UNSTRUCTURED, 32);
  16. /*
  17.  * Can't reduce the size of the following without blowing binary compatibility
  18.  * with libc (but not libsys, since it is always shared).
  19.  */
  20. type inline_data = array [ * : 4096 ] of unit; 
  21. type ooline_data = ^ array [] of unit;
  22.  
  23.  
  24. routine _lookup_link(    server : port_t;
  25.             name : lookup_name;
  26.         out    procno: int);
  27.  
  28. routine _lookup_all(    server : port_t;
  29.             proc : int;
  30.             indata : inline_data;
  31.         out    outdata  : ooline_data);
  32.  
  33. routine _lookup_one(    server : port_t;
  34.             proc : int;
  35.             indata : inline_data;
  36.         out    outdata  : inline_data);
  37.  
  38.  
  39. routine _lookup_ooall(    server : port_t;
  40.             proc : int;
  41.             indata : ooline_data;
  42.         out    outdata  : ooline_data);
  43.  
  44.